/**
 * Created by IntelliJ IDEA.
 * User: Rajeev
 * Date: Dec 27, 2009
 * Time: 5:55:08 PM
 * To change this template use File | Settings | File Templates.
 */
public class Main {
    public static void main(String[] args) throws Exception {
        dfa d = new dfa();
        d.scanDocument("testone.xml");
        RecursiveDescent rd = new RecursiveDescent(d);
       Node n= rd.test();
        PrettyPrinter pp = new PrettyPrinter();
        pp.print(n, "testprintout.txt");
    }
}
